package com.ly.hotel.model;



public class MusicBean {
	private Integer id;

	/**
	 * 关联专辑
	 */
	private Integer albumId;

	/**
	 * 地区
	 */
	private String area;

	/**
	 * 专辑名称
	 */
	private String albumName;

	/**
	 * 音乐名称
	 */
	private String name;

	/**
	 * 音乐地址
	 */
	private String addr;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAlbumId() {
		return albumId;
	}

	public void setAlbumId(Integer albumId) {
		this.albumId = albumId;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAlbumName() {
		return albumName;
	}

	public void setAlbumName(String albumName) {
		this.albumName = albumName;
	}

	public String getName() {
		String n[] = name.split(":");
		if(n!=null){
			return n[0];
		}else{
			return name;
		}
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

}
